public class Division {
	public int dividir(int x, int y) {
		int result = 0;
		try {
			if (y != 0) {
				
				result = x / y;
			}
		} catch (Exception e) {
			System.out.println("Error: Division por cero");
		}
		return result;
		
	}

}
